package com.hqq.other.callback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * LambdaApp
 * Created by heqianqian on 2017/9/4.
 */
public class LambdaApp {

    private static final Logger LOGGER = LoggerFactory.getLogger(LambdaApp.class);

    public static void main(String[] args) {
        Task task = new SimpleTask();
        Callback c = () -> LOGGER.info("execute finished");
        task.executeTask(c);
    }
}
